package com.sl.conf;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Properties;

public class ConfigProperties {
private static Properties PROPERTIES;

static {
	PROPERTIES = new Properties();

	try {
		PROPERTIES.load(new InputStreamReader(new FileInputStream("src/main/resources/config properties"), "UTF-8"));
		}catch (IOException e){
		e.printStackTrace();
		}
}
public static String getProperty(String key){
	return PROPERTIES.getProperty(key);
	
}
}
